package com.hoshiicloud.user.param.rbac;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 修改权限参数
 * </p>
 *
 * @author Mr.Wu
 * @since 2019-04-27
 */
@Data
public class SysPermissionesUpdateParam implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@ApiModelProperty(value = "id", required = true)

	private Long id;

	/**
	 * 所属系统
	 */
	@ApiModelProperty(value = "所属系统")

	private Long systemId;

	/**
	 * 所属上级
	 */
	@ApiModelProperty(value = "所属上级")

	private Long pId;

	/**
	 * 名称
	 */
	@ApiModelProperty(value = "名称")

	private String name;

	/**
	 * 类型(1:目录,2:菜单,3:按钮)
	 */
	@ApiModelProperty(value = "类型(1:目录,2:菜单,3:按钮)")

	private Integer type;

	/**
	 * 权限值
	 */
	@ApiModelProperty(value = "权限值")

	private String permissionValue;

	/**
	 * 路径
	 */
	@ApiModelProperty(value = "路径")

	private String uri;

	/**
	 * 图标
	 */
	@ApiModelProperty(value = "图标")

	private String icon;

	/**
	 * 状态(0:禁止,1:正常)
	 */
	@ApiModelProperty(value = "状态(0:禁止,1:正常)")

	private Integer status;

	/**
	 * 排序
	 */
	@ApiModelProperty(value = "排序")

	private Long orders;

	@ApiModelProperty(value = "关联系统id")
	private Long refId;

	@ApiModelProperty(value = "关联系统类型")
	private String refType;

}
